package ru.spb.osll.myfit.client.service;

import com.google.gwt.user.client.rpc.AsyncCallback;
import ru.spb.osll.myfit.common.chart.Chart;
import ru.spb.osll.myfit.common.chart.ChartInfo;
import ru.spb.osll.myfit.common.chart.ChartTree;

import java.util.List;

public interface ChartsServiceAsync {
  void getCharts(String path, AsyncCallback<List<Chart>> async);

  void rebuildChart(String pageId, ChartInfo info, AsyncCallback<Chart> async);

  void getChartsTree(AsyncCallback<ChartTree> async);
}